<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@include file="/white/common/common.jsp"%>
<%@include file="/white/common/taglibs.jsp"%>
<%@page import="java.util.List"%>
<%@page import="java.util.*"%>
<%@page import="org.springframework.web.context.WebApplicationContext"%>
<%@page
	import="org.springframework.web.context.support.WebApplicationContextUtils"%>
<%@ page import="java.util.ArrayList"%>

<%@page import="com.yellowpage.white.ui.*"%>
<%@page import="com.yellowpage.white.ui.MenuItem"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<html>
<head>
<link rel="StyleSheet" href="${ctx}/white/common/dtree.css"
	type="text/css" />
<script type="text/javascript" src="${ctx}/white/common/dtree.js">
</script>
<script type="text/javascript">
            function tosearch(){
            var searchForm=document.getElementById("searchForm");
            searchForm.action='prodOrderAction!queryByPage.action';
            searchForm.submit();            
            }
</script>
</head>
<body>
	<s:form method="post" action="prodOrderAction!orderByPage.action"
		theme="simple" id="searchForm">
		<div id="div_search">
			<table>
				<tr>
					<td width="110" align="right">一级分类编号:</td>
					<td><input type="text" size="10" name="query_prodClassCode1"
						id="Code1" /></td>
				</tr>
				<tr>
					<td width="110" align="right">二级分类编号:</td>
					<td><input type="text" size="10" name="query_prodClassCode2"
						id="Code2" /></td>
				</tr>
				<tr>
					<td width="80" align="right"><input type="button"
						class="submit_search" value="搜索" id="search" onClick="tosearch();">
					</td>
				</tr>
			</table>
		</div>
		<div class="dtree" id="dtree">
			<p>
				<a href="javascript: d.openAll();">打开全部</a> | <a
					href="javascript: d.closeAll();">关闭全部</a>
			</p>

			<script type="text/javascript">
		d = new dTree('d');
		d.add(0,-1,'分类编号');
		<s:property value="prodClassStr"/> 
		document.write(d);	
	</script>
		</div>
	</s:form>
</body>
</html>